#{extends 'layout.html' /}
#{set title:messages.get('crud.list.title', '点书管理') /}

<div id="crudList" class="${type.name}">

    <div id="crudListSearch">
    	<form enctype="application/x-www-form-urlencoded" accept-charset="utf-8" method="get" action="/dotbooks/list">        
    		<input type="text" value="" name="search"> <input type="submit" value="搜索">
		</form>
    </div>

    <div id="crudListTable">
     	#{crud.table fields:['id','booname','author','press','isbn','memid','操作']}
        	 #{crud.custom 'id'}
        	 	${object.id}
        	 #{/crud.custom}
        	 #{crud.custom '操作'}
	                    #{form @delete(object._key())}
	                    	<input type="submit" value="删除" />
	                    #{/form}
        	#{/crud.custom}
        #{/crud.table}
    </div>

    <div id="crudListPagination">
        #{crud.pagination /}
    </div>

</div>
